package cn.hiapi.publics.vo;

import cn.hiapi.basic.entity.BasicEntity;
import cn.hiapi.shopkeeper.entity.activity.ActivityOther;
import cn.hiapi.shopkeeper.enums.ActivityType;
import com.alibaba.fastjson.JSONObject;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

/**
 * @author AdinZ
 * @date 2022/12/16 23:31
 */
@Setter
@Getter
public class ActivityVo extends BasicEntity {

    private Long id;
    @ApiModelProperty("活动id")
    private ActivityType type;
    @ApiModelProperty("分类id")
    private long cid;
    @ApiModelProperty("分类名字")
    private String category;
    @ApiModelProperty("活动名字")
    private String title;
    @ApiModelProperty("活动封面")
    private String thumb;
    @ApiModelProperty("活动状态")
    private int status;
    @ApiModelProperty("原价")
    private BigDecimal price;
    @ApiModelProperty("开始时间")
    private long startTime;
    @ApiModelProperty("结束时间")
    private long endTime;
    @ApiModelProperty("使用开始时间")
    private long useStart;
    @ApiModelProperty("使用结束时间")
    private long useEnd;
    @ApiModelProperty("活动详情信息")
    private JSONObject expand;
    @ApiModelProperty("店铺资料")
    private ShopBaseVo shop;

    private Object other;

    private String body;


    @ApiModelProperty("销量")
    private long sales;

    @ApiModelProperty("参与人数")
    private long participate;

    private long apply;
}
